
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
		String path = request.getContextPath();
		String basePath = request.getScheme() + "://" + request.getServerName()
				+ ":" + request.getServerPort() + path + "/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>main</title>
<LINK href="./css/style.css" type=text/css rel=stylesheet>
<script src="./js/WebCalendar.js" type="text/javascript"></script>
<script src="./js/main.js" type="text/javascript"></script>
<script src="./js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="./js/jquery.validate.min.js" type="text/javascript"></script>
<script src="./js/validate.js" type="text/javascript"></script>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #5CB7FE;
}
.STYLE1 {font-size: 12px; font-family: arial}
.subscript {font-size: 6px; font-family: arial}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
.STYLE5 {font-size: 12px; color: #FF0000; }
.STYLE6 {
	font-size: 16px;
	font-weight: bold;
}
-->
 </style>
</head>
<script type="text/javascript">
$(document).ready(function() {
	$("#exportAllCityDataBt").click(function(){
	    startDate = ($("#sdate").val() == "" ? "" : $("#sdate").val() + " 00:00:00");
	    endDate = ($("#edate").val() == "" ? "" : $("#edate").val()+ " 23:00:00");
	    window.location.href="exportAllCiytEnvData.action?startDate="+startDate+"&endDate="+endDate+"&pollutant="+$("#pollutant").val();
	});
});
</script>
<body style="overflow-x:hidden">
<table width="100%" height="568" border="0" cellpadding="0"
	cellspacing="0" bordercolor="#D8EDFF">
	<!--DWLayoutTable-->
	<tr>
		<td height="8" colspan="4" valign="top"></td>
		<td width="98%" valign="top"></td>
		<td width="5" valign="top"></td>
	</tr>
	<tr>
		<td height="5" colspan="3" align="right" valign="top"><img
			src="images/icon1.jpg" width="6" height="5" /></td>
		<td colspan="2" valign="top"><img src="images/icon2.jpg" width="100%"
			height="5" /></td>
		<td valign="top"><img src="images/icon3.jpg" width="5" height="5" /></td>
	</tr>
	<tr>
		<td width="7" height="523">&nbsp;</td>
		<td width="5" align="right" valign="top" background="images/icon5.jpg"><img
			src="images/icon5.jpg" width="5" height="5" /></td>
		<td colspan="2" valign="top" bgcolor="#D8EDFF">&nbsp;</td>
		<td valign="top" background="images/main_bg.png">
		
		<table width="100%" border="0" cellpadding="0" cellspacing="0"
			bgcolor="#D8EDFF">
			<!--DWLayoutTable-->
			<tr>
				<td height="30" colspan="3" valign="middle"><span class="STYLE1">&nbsp;[导出数据]</span></td>
				<td width="29">&nbsp;</td>
			</tr>
			<tr>
				<td width="90" height="60">&nbsp;</td>
				<td width="98%" valign="top">
				    <table width="400" border="0" cellpadding="0" cellspacing="0" bgcolor="#D8EDFF">
						<!--DWLayoutTable-->
						<tr>
							<td height="40" colspan="3" align="left" valign="middle" class="STYLE1">
							<fieldset>
			   				 		<legend><img alt="省份信息" src="images/search.png"/> &nbsp;&nbsp;<span class="STYLE1">条件过滤</span></legend>
									开始日期: 
									<input name="slogDate" type="text" id="sdate" onclick="new Calendar().show(this);" size="10" maxlength="10" style="width:80px; height:18px;" readonly="readonly"/>
									&nbsp;&nbsp;结束日期: 
									<input name="elogDate" type="text" id="edate" onclick="new Calendar().show(this);" size="10" maxlength="10" style="width:80px; height:18px;" readonly="readonly"/>
									&nbsp;&nbsp;污染物:&nbsp;
								     <select id='pollutant' style="width:90px; height:18px;">
								          <option value="PM2_5">PM2.5</option>
								          <option value="PM10">PM10</option>
								          <option value="SO2">SO2</option>
								          <option value="NO2">NO2</option>
								          <option value="CO">CO</option>
								          <option value="O3">O3(1小时)</option>
								          <option value="O3_8H">O3(8小时)</option>
								          <option value="O3_24H">O3(24小时)</option>
								          <option value="O3_8H_24H">O3(8-24小时)</option>
								    </select>
									&nbsp;&nbsp;<input name="exportAllCityDataBt" type="button" id="exportAllCityDataBt" class="btn1_mouseout" onMouseOver="this.className='btn1_mouseover'" onMouseOut="this.className='btn1_mouseout'" value=" 导出数据　">
									<span id="exporting" style="display:none"></span>
								</fieldset>
							<td>&nbsp;</td>
						</tr>
						<tr>
							<td height="20" colspan="3" align="center" valign="middle" class="STYLE6"></td>
							<td>&nbsp;</td>
						</tr>
						<tr>
							<td colspan="4" height="10px"></td>
						</tr>
						<tr>
							<td colspan="3" align="left" valign="top" class="STYLE1">
								<table width="860" id="position" border=0 cellpadding=0 cellspacing=1
					bgcolor=5cb7fe class="STYLE1">
					          
							  </table>
							<td>&nbsp;</td>
						</tr>
					</table>
				</td>
				<td width="50">&nbsp;</td>
				<td>&nbsp;</td>
			</tr>
</table>
		</td>
		<td valign="top" background="images/icon6.jpg"><img
			src="images/icon6.jpg" width="5" height="100" /></td>
	</tr>

	<tr>
		<td height="5"></td>
		<td valign="top"><img src="images/icon7.jpg" width="5" height="5" /></td>
		<td colspan="3" valign="top"><img src="images/icon8.jpg" width="100%"
			height="5" /></td>
		<td valign="top"><img src="images/icon9.jpg" width="5" height="5" /></td>
	</tr>
	<tr>
		<td height="2"></td>
		<td></td>
		<td width="1"></td>
		<td width="6"></td>
		<td></td>
		<td></td>
	</tr>
</table>
</body>
</html>
